package com.guodu.dao;

import java.util.List;

import com.guodu.entity.PurchaseBiddingPlantz;
import com.guodu.entity.PurchasebiddingtzStatus;
import com.guodu.entity.Units;
import com.guodu.vo.PurchaseBiddingPlantzQueryVo;
import com.guodu.vo.PurchaseBiddingPlantzVo;

public interface PurchaseBiddingPlantzDao {

	long findSizeByVo(PurchaseBiddingPlantzQueryVo pbpq, Units units);
	
	public void examinAll(PurchaseBiddingPlantzQueryVo pbpq, Units units);

	PurchaseBiddingPlantzVo findAllMoney(PurchaseBiddingPlantzQueryVo pbpq,Units units);
	
	List<PurchaseBiddingPlantz> findByVo(PurchaseBiddingPlantzQueryVo pbpq,Units units, int curPage, int pageSize);

	void save(PurchaseBiddingPlantz purchaseBiddingPlantz);

	PurchaseBiddingPlantz findById(String purchaseId);

	void update(PurchaseBiddingPlantz purchaseBiddingPlantz);

	List<PurchasebiddingtzStatus> findStatus(String purchaseId);

	void changeStatus(List<PurchasebiddingtzStatus> entities);

	void examine(String ids, Long status);

	void delByIds(String[] delIds);

	List<PurchaseBiddingPlantz> findAllByVo(PurchaseBiddingPlantzQueryVo pbpq,
			Units attribute);



}
